﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using System.Runtime.Serialization;

namespace TestXNA3.Components
{
    [Serializable]
    public class MeshComponent : Component
    {
        private Vector3 _translation = Vector3.Zero;
        public Vector3 Translation
        {
            get { return _translation; }
            set { _translation = value; }
        }

        private bool _castShadow = false;
        [System.ComponentModel.Category("MeshComponent")]
        public bool CastShadow
        {
            get { return _castShadow; }
            set { _castShadow = value; }
        }

        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
        }
    }
}
